package fyf.com.carddesign.MyUtl.Tuple;

import java.io.Serializable;

/**
 * 元组，用来存放数据
 * Created by yxz on 2017/10/25.
 */

public class Tuple<T1, T2> implements Serializable {
    private T1 _t1;
    private T2 _t2;

    public T1 get_t1() {
        return _t1;
    }

    public void set_t1(T1 _t1) {
        this._t1 = _t1;
    }

    public T2 get_t2() {
        return _t2;
    }

    public void set_t2(T2 _t2) {
        this._t2 = _t2;
    }

    public Tuple(T1 _t1, T2 _t2) {
        this._t1 = _t1;
        this._t2 = _t2;
    }
}
